package ltd.newbee.mall.api.mall.param;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

/**
 * 用户登录param
 */
@Data
public class MallUserLoginParam {
    @Schema(description = "登录名")
    @NotEmpty(message = "登录名不能为空")
    private String loginName;

    @Schema(description = "用户密码(需要MD5加密")
    @NotEmpty(message = "密码名不能为空")
    private String passwordMd5;
}
